export default function ({store, redirect, route, error, window}) {
    // store.commit('UPDATE_USER');
    if (!store['getters']['user/userInfo'] && route.path !== '/login') {
        // return redirect('/login');
        // error({
        //     message: 'You are not connected',
        //     statusCode: 403
        // })
    }
};